{% macro date_by_user(date, user) -%}
  {% trans date=datetimeformat(date, format='longdatetime'), user=display_name(user), url=profile_url(user) %}
    {{date}} by <a href="{{url}}">{{user}}</a>
  {% endtrans %}
{%- endmacro %}
